//
//  CYpageView.m
//  网易彩票
//
//  Created by ccy on 2017/6/14.
//  Copyright © 2017年 ccy. All rights reserved.
//

#import "CYpageView.h"

@interface CYpageView ()

@property(nonatomic,strong) NSMutableArray<UIButton*> *buttonArray;

@end


@implementation CYpageView

+(instancetype)pageView
{
    return [[NSBundle mainBundle]loadNibNamed:@"CYpageView" owner:nil options:nil].lastObject;
}


-(void)awakeFromNib
{
    [super awakeFromNib];
    self.layer.cornerRadius = 10;
    self.layer.masksToBounds = YES;
#pragma mark - 设置图片边框
    self.layer.borderColor =[UIColor lightGrayColor].CGColor;
    self.layer.borderWidth = 2;
}


@end
